<ion-header>
  <ion-navbar>
    <ion-title text-center>任务详情</ion-title>
  </ion-navbar>
  <div class="pageMenuSlides">
    <div class="swiper-container">
      <div class="swiper-wrapper">
        <div class="swiper-slide {{i==0?'bottomLine':''}}" *ngFor="let item of menus;let i=index;" tappable (click)="selectPageMenu($event,i)">{{item}}({{number[i]}})</div>
      </div>
    </div>
  </div>
</ion-header>

<ion-content>
  <ion-slides [ngStyle]="{ 'height': slidesMoving ? 'auto' : (slidesHeight + 'px') }" #contentSlides (ionSlideDidChange)="slideChanged()"
    (ionSlideWillChange)="slideWillChange()">
    <ion-slide>
      <ion-list>
        <ion-item ion-item *ngFor="let item of scheduledTasks" (click)="itemSelected(item)">
          <div class="time">
            <span>
              {{ item.inspectionDate }}
            </span>
            <span class="message">
              <ion-icon text-right name="ios-radio-button-on"></ion-icon>
            </span>
          </div>
          <div>{{ item.inspectionWorkName }}
            <span>
              <ion-icon text-right name="ios-arrow-forward"></ion-icon>
            </span>
          </div>
        </ion-item>
      </ion-list>
    </ion-slide>
    <ion-slide>
      <ion-list>
        <ion-item ion-item *ngFor="let item of temporaryAssignment" (click)="itemSelected(item)">
          <div class="time">
            <span>
              {{ item.inspectionDate }}
            </span>
            <span class="message">
              <ion-icon text-right name="ios-radio-button-on"></ion-icon>
            </span>
          </div>
          <div>
            <span>{{ item.inspectionWorkName }}</span>
            <span>
              <ion-icon text-right name="ios-arrow-forward"></ion-icon>
            </span>
          </div>
        </ion-item>
      </ion-list>
    </ion-slide>
  </ion-slides>
</ion-content>